package Homework.ooday02;

public class Doctor extends Person{
    String title;

    public Doctor() {

    }

    public Doctor(String name, String address, int age, String title) {
        super(name, address, age);
        this.title = title;
    }




    void cut(){
        System.out.println(name + "正在做手术...");
    }


}
